package com.ecnu.system.mapper;

import com.ecnu.system.domain.ProjectMissionLabels;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecnu.system.domain.dto.FileLabelsDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * ecnu_活动_任务标签表 Mapper 接口
 * </p>
 *
 * @author zdn
 * @since 2025-03-30
 */
@Mapper
public interface ProjectMissionLabelsMapper extends BaseMapper<ProjectMissionLabels> {

    void deleteByFileId(String id);

    void insertByFileId(@Param("dtos") List<FileLabelsDTO> fileLabelsList, @Param("fileId")String id);

    List<FileLabelsDTO> selectByMissionId(String id);
}
